from django.db import models

# Create your models here.

class Auther(models.Model):
    name = models.CharField(max_length=32)
    email = models.CharField(max_length=32)

class Books(models.Model):
    name = models.CharField(max_length=32)
    authers = models.ForeignKey(Auther, on_delete=models.CASCADE)

